def decorator(a):
    def wrapper():
        print("---1----")
        a()
        print("---2----")
    return wrapper

@decorator
def func3():
    print("_____func3_____")

res = func3()
